package com.lzh.dlykserver.mapper;

import com.lzh.dlykserver.commons.DataScope;
import com.lzh.dlykserver.entity.TTranRemark;
import com.lzh.dlykserver.query.TranQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 墨墨
 * @description 针对表【t_tran_remark(交易跟踪记录表)】的数据库操作Mapper
 * @createDate 2024-07-24 09:57:15
 * @Entity com.lzh.dlykserver.entity.TTranRemark
 */
public interface TTranRemarkMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(TTranRemark record);

    int insertSelective(TTranRemark record);

    TTranRemark selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TTranRemark record);

    int updateByPrimaryKey(TTranRemark record);

    @DataScope(tableAlias = "ttr", tableField = "create_by")
    List<TTranRemark> selectClueRemarkByPage(TranQuery tranQuery);
}
